<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>hello world</title>
	</head>
	<body>
		hello world!
		<input type="button" value="取json对象" id="getJson"/>
		<input type="button" value="跳转页面" id="forward"/>
	</body>
	<script type="text/javascript">
		document.getElementById("getJson").onclick=function(){
			alert(1);
		}
	</script>
</html>